package com.yishe.mapper.mysql;

import com.yishe.entites.mysql.YsStaffCase;
import com.yishe.entites.vo.YsStaffCaseVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author : chusifeng
 * @version :
 * @date :Create in 2021/4/10 10:26
 * @description: 员工课程
 * @package com.yishe.mapper.mysql
 * @className YsStaffCaseMapper
 */
public interface YsStaffCaseMapper extends Mapper<YsStaffCase> {



    /**
     * 根据课程号获取该课程所有分配人员信息
     * @param param
     * @return
     */
    List<YsStaffCaseVo> getStaffCaseByCaseNo(Map<String, String> param);

    List<Map<String, Object>> getCaseListByAccount(@Param("account") String account);

}
